package org.jeecg.modules.demo.navigation.service;

import org.jeecg.modules.demo.navigation.entity.Information;
import org.jeecg.modules.demo.navigation.entity.Navigation;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 导航栏
 * @Author: jeecg-boot
 * @Date:   2019-09-18
 * @Version: V1.0
 */
public interface INavigationService extends IService<Navigation> {
	/**
	 * 根据名字查询子节点集合
	 * */
	public List<Navigation> queryListCode( String typeStr);

	/**
	 * 添加一对多
	 * 
	 */
	public void saveMain(Navigation navigation,List<Information> informationList) ;
	
	/**
	 * 修改一对多
	 * 
	 */
	public void updateMain(Navigation navigation,List<Information> informationList);
	
	/**
	 * 删除一对多
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
